package fr.univnantes.lina.uima;
import java.util.*;

public class Rule {
	
	private String sourceType;
	private ArrayList<String> targetType;
	private String constraint;
	
	public Rule(String sourceType, ArrayList<String> targetType, String constraint) {
		super();
		this.sourceType = sourceType;
		this.targetType = targetType;
		this.constraint = constraint;
	}

	public String getSourceType() {
		return sourceType;
	}

	public void setSourceType(String sourceType) {
		this.sourceType = sourceType;
	}

	public ArrayList<String> getTargetType() {
		return targetType;
	}

	public void setTargetType(ArrayList<String> targetType) {
		this.targetType = targetType;
	}
	
	public String getConstraint() {
		return constraint;
	}

	public void setConstraint(String constraint) {
		this.constraint = constraint;
	}
}
